package 类和对象课堂练习;

import java.util.Scanner;

public class Lianxi03181 {
    String name;
    int age;
    int money;

    public int intmenpiao() {
        if (age >= 18) {
           return money = 20;
        } else {
            return money = 0;
        }
    }
}
